Skip to content

Conversation

@adnaan
Copy link
Contributor

@adnaan adnaan commented Jan 18, 2026

Summary

Upgrade github.com/livetemplate/livetemplate from v0.7.7 to v0.8.0.

What's in v0.8.0

The v0.8.0 release introduces fingerprint-based structure comparison for diff operations, replacing the complex ClientStructureRegistry. Key improvements:

  • Simplified diff logic using MD5 fingerprints to detect structural changes
  • Removed ~1000 lines of complex path-tracking code
  • Better handling of heterogeneous ranges
  • No breaking changes for downstream users

Test plan

  • go build ./... passes
  • Counter example tests pass
  • CI checks pass

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings January 18, 2026 00:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the github.com/livetemplate/livetemplate dependency from v0.7.7 to v0.8.0. Version 0.8.0 introduces fingerprint-based structure comparison for diff operations, simplifying the implementation by removing approximately 1000 lines of complex path-tracking code while maintaining backward compatibility.

Changes:

  • Upgrade livetemplate dependency from v0.7.7 to v0.8.0
  • Add pgregory.net/rapid v1.2.0 as an indirect dependency (property-based testing library)

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Updates the livetemplate dependency version from v0.7.7 to v0.8.0
go.sum Updates checksums for livetemplate v0.8.0 and adds checksums for the new indirect dependency pgregory.net/rapid v1.2.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

adnaan and others added 2 commits January 18, 2026 07:31
Update github.com/livetemplate/livetemplate from v0.7.7 to v0.8.0.

v0.8.0 introduces fingerprint-based structure comparison for diff
operations, replacing the complex ClientStructureRegistry. This is
a non-breaking change for downstream users.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use e2etest.GetFreePort() instead of hardcoded port 8096
- Use e2etest.StartTestServer() for consistent server startup
- Prevents test failures from stale server processes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@adnaan adnaan force-pushed the upgrade/livetemplate-v0.8.0 branch from a90f491 to ad93495 Compare January 18, 2026 06:39
@adnaan adnaan merged commit 528875a into main Jan 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants